﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class MailBoxModels : BaseViewModel
    {
        /// <summary>
        /// 邮箱ID
        /// </summary>		
        [Display(Name = "邮箱ID")]
        public Guid? MailID { get; set; }
        /// <summary>
        /// 邮箱配置ID
        /// </summary>		
        [Display(Name = "邮箱配置ID")]
        public Guid? MailConfigID { get; set; }
        /// <summary>
        /// 发信人
        /// </summary>		
        [Display(Name = "发信人")]
        public string MailFrom { get; set; }
        /// <summary>
        /// 收信人
        /// </summary>		
        [Display(Name = "收信人")]
        public string MailTo { get; set; }
        /// <summary>
        /// 抄送人
        /// </summary>		
        [Display(Name = "抄送人")]
        public string MailCC { get; set; }
        /// <summary>
        /// 密送人
        /// </summary>		
        [Display(Name = "密送人")]
        public string MailBcc { get; set; }
        /// <summary>
        /// 邮箱主题
        /// </summary>		
        [Display(Name = "邮箱主题")]
        public string MailSubject { get; set; }
        /// <summary>
        /// 邮件内容
        /// </summary>		
        [Display(Name = "邮件内容")]
        public string MailBody { get; set; }
        /// <summary>
        /// 是否有附件
        /// </summary>		
        [Display(Name = "是否有附件")]
        public bool? HaveAttachment { get; set; }
        /// <summary>
        /// 发信日期
        /// </summary>		
        [Display(Name = "发信日期")]
        public DateTime? SendDateTime { get; set; }
        /// <summary>
        /// 收信日期
        /// </summary>		
        [Display(Name = "收信日期")]
        public DateTime? ReceiveDateTime { get; set; }
        /// <summary>
        /// 读取时间
        /// </summary>		
        [Display(Name = "读取时间")]
        public DateTime? ReadDateTime { get; set; }
        /// <summary>
        /// 0:草稿箱1：收件箱2：发件箱
        /// </summary>		
        [Display(Name = "0:草稿箱1：收件箱2：发件箱")]
        public int? MailboxKind { get; set; }
        /// <summary>
        /// 是否垃圾箱
        /// </summary>		
        [Display(Name = "是否垃圾箱")]
        public bool IsGC { get; set; }
        /// <summary>
        /// 所属人
        /// </summary>		
        [Display(Name = "所属人")]
        public Guid? OwnerUserID { get; set; }
        /// <summary>
        /// 状态
        /// </summary>		
        [Display(Name = "状态")]
        public int? Status { get; set; }

    }
}